package net.kleinhenz.norabase.client;

import java.util.List;

import net.kleinhenz.norabase.shared.model.Battlegroup;
import net.kleinhenz.norabase.shared.model.Rune;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("battlegroups")
public interface BattlegroupService extends RemoteService {
	
	public String createBattlegroup(Battlegroup<Rune> battlegroup);
	public Battlegroup<Rune> retrieveBattlegroup(String id);
	public List<Battlegroup<Rune>> retrieveBattlegroups();
	public void updateBattlegroup(Battlegroup<Rune> battlegroup);
	public void deleteBattlegroup(Battlegroup<Rune> battlegroup);
}
